import React from 'react';
import { Typography } from 'antd';
import { MedicineBoxOutlined } from '@ant-design/icons';
import styles from './styles.module.less';

const { Text } = Typography;

interface LogoProps {
  showText?: boolean;
}

const Logo: React.FC<LogoProps> = ({ showText = true }) => {
  return (
    <div className={styles.logo}>
      <MedicineBoxOutlined className={styles.icon} />
      {showText && <Text className={styles.text}>MediWise</Text>}
    </div>
  );
};

export default Logo; 